<?php
// The settings for the default admin account
const admin_username = 'admin';             // The default admin account, leave empty to disable the account (Default: admin)
const admin_password = 'admin';             // The default admin account password, leave empty to disable password (Default: admin)
const admin_ips      = '127.0.0.1';         // Allowed IP addresses on which you can login with the admin accounts, seperate each IP by a comma e.g. ('127.0.0.1, 192.168.1.1'), leave empty to disable

// The settings for what type of accounts are allowed to login
const allow_db_users = true;                // Determines if people can login with an account stored in the database [*true/false]
const kick_db_users  = false;               // If allow_db_users is false, kick users logged in with a database account [true/*false]

// The settings for the username and password stored in the database
const username_case  = false;               // Determines if usernames are case sensitive [true/false] (the admin account always is) [true/*false]
const password_case  = true;                // Determines if passwords are case sensitive [true/false] (the admin account always is), does only apply to non-encrypted passwords (encrypted passwords are case sensitive) [*true/false]
const password_allow_normal  = false;       // Determines if accounts with a password stored without encryption are allowed to login [true/*false]
const password_allow_encrypt = true;        // Determines if accounts with an encrypted password are allowed to login [*true/false]
const password_encrypt       = true;        // Determines if passwords are saved in the database with encryption at account creation and password changes [*true/false]
const pass_encrypt_onlogin   = true;        // Encrypts password which are not encrypted during login while pass_encrypt_onlogin is true and password_allow_normal is false [*true/false]
const max_username_length    = 8;           // The maximal length a username may contain (Default: 8)
const max_password_length    = 14;          // The maximal length a password may contain (Default: 14)

const menu_cookies_duration = 365;          // Determines how long cookies must be kept for the menus -1 to delete, 0 for when user closes browser (Default: 365)
?>